﻿@model MileageStats.Model.FillupEntry
<div class="display-label">
    @Html.LabelFor(model => model.Date)
</div>
<div class="display-field date">
    @(Model == null || Model.Date == null ? string.Empty : String.Format("{0:d MMM yyyy}", Model.Date))
</div>

<div class="display-label">
    @Html.LabelFor(model => model.TotalCost)
</div>
<div class="display-field total-cost">
    @String.Format("{0:F2}", Model.TotalCost)
</div>

<div class="display-label">
    @Html.LabelFor(model => model.TotalUnits)
</div>
<div class="display-field total-units">
    @String.Format("{0:F2}", Model.TotalUnits)
</div>

<div class="display-label">
    @Html.LabelFor(model => model.PricePerUnit)
</div>
<div class="display-field price-per-unit">
    @String.Format("{0:F2}", Model.PricePerUnit)
</div>

<div class="display-label">
    @Html.LabelFor(model => model.Vendor)
</div>
<div class="display-field vendor wrap">
    @Model.Vendor
</div>

<div class="display-label">
    @Html.LabelFor(model => model.Odometer)
</div>
<div class="display-field odometer">
    @Model.Odometer
</div>

<div class="display-label">
    @Html.LabelFor(model => model.TransactionFee)
</div>
<div class="display-field transaction-fee">
    @Model.TransactionFee
</div>

<div class="display-label">
    @Html.LabelFor(model => model.Remarks)
</div>
<div class="display-field remarks wrap">
    @Model.Remarks
</div>
